#ifndef __KERNEL_INTERRUPT_H__
#define __KERNEL_INTERRUPT_H__

#include "stdint.h"

enum intr_status
{
	INTR_OFF,
	INTR_ON
};

typedef void (*intr_handler)(int8_t intr_num);

void idt_init(void);

enum intr_status intr_get_status(void);
enum intr_status intr_set_status(enum intr_status);
enum intr_status intr_enable(void);
enum intr_status intr_disable(void);

int8_t register_intr_handler(uint8_t intr_num, intr_handler function);

#endif
